<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>display-inline-block的使用</title>
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			div{
				height: 120px;
				width: 120px;
				border: 4px groove red;
				/* margin: 4px; */
				display:inline-block;
			}
		</style>
	</head>
	<body>
		<div>1</div>
		<div>2</div>
		<div>3</div>
		<div>4</div>
		<div>5</div>
		<div>6</div>
		<div>7</div>
		<div>8</div>
		<div>9</div>
		<div>10</div>
	</body>
</html>
